﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcMusicStore.ViewModels.StoreIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <%Html.RenderAction( "SearchAdvance", "Home"); %>
    
    <h2>Browse Genres</h2>
    
    <p>select from <%=Model.NumberOfGenre%> genres:</p>
    
    <ul>
        <%foreach (var genre in Model.Genres)
          { %>
            <li><%=Html.ActionLink(genre, "browse", new { genre = genre }) %></li>
        <%} %>
    </ul>

</asp:Content>
